package com.woniu.teachmall.mapper;

import com.woniu.teachmall.entity.Admin;
import com.woniu.teachmall.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {

    //根据account查看用户
    public Admin getUserByAccount(String account);

    List<User> getAllUser();
}
